package com.longxi.tianjintianbao.ui.activity.news;

import android.widget.TextView;

import com.longxi.tianjintianbao.R;
import com.longxi.tianjintianbao.ui.base.BaseActivity;
import com.longxi.tianjintianbao.ui.presenter.news.NewDetailAtPresenter;
import com.longxi.tianjintianbao.ui.view.news.INewDetailAtView;

import butterknife.BindView;

public class NewDetailActivity extends BaseActivity<INewDetailAtView, NewDetailAtPresenter> implements INewDetailAtView {

    private String TAG = "NewDetailActivity";

    @BindView(R.id.tvTitle)
    TextView mTvTitle;
    @BindView(R.id.tvTimeSource)
    TextView mTvTimeSource;
    @BindView(R.id.tvContent)
    TextView mTvContent;
    @BindView(R.id.tvAttachmentName)
    TextView mTvAttachmentName;

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_new_detail;
    }

    @Override
    public void initData() {
        super.initData();
        mPresenter.setBar();
    }

    @Override
    public void initListener() {
        super.initListener();
    }

    @Override
    protected NewDetailAtPresenter createPresenter() {
        return new NewDetailAtPresenter(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

    @Override
    public TextView getTvTitle() {
        return mTvTitle;
    }

    @Override
    public TextView getTvTimeSource() {
        return mTvTimeSource;
    }

    @Override
    public TextView getTvContent() {
        return mTvContent;
    }

    @Override
    public TextView getTvAttachmentName() {
        return mTvAttachmentName;
    }
}
